export default {
    testPhone(value){
        let regPhone=/^[1][3,4,5,6,7,8][0-9]{9}$/;
        if(regPhone.test(value)){
            return true;
        }else{
            return false;
        }
    },
    testIDNo(value){
        let regID=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
        if(regID.test(value)){
            return true;
        }else{
            return false;
        }
    }
}